package com.citywithincity.utils;

import java.util.Map;
import java.util.Map.Entry;

import javax.servlet.http.HttpSession;

public class SessionUtil {
	public static void mapToSession(Map<String, Object> map,
			HttpSession session) {
		for (Entry<String, Object> entry : map.entrySet()) {
			session.setAttribute(entry.getKey(), entry.getValue());
		}
	}
}
